package com.example.demo.Controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {


    @RequestMapping(value = {""})
    public String index(Model model){
        model.addAttribute("msg","这是我做的springboot项目");
        return "index";
    }

}
